import request from '@/router/axios';

export const getList = (current, size, params) => {
    return request({
        url: '/api/mes-product/qms-inspection-document-report/pass-rate/page',
        method: 'get',
        params: {
            ...params,
            current,
            size
        }
    });
};

export const getDetail = (params) => {
    return request({
        url: '/api/mes-product/qms-inspection-document-report/pass-rate/partner-inspect-detail',
        method: 'get',
        params: params
    });
};

export const getEchart = (params) => {
    return request({
        url: '/api/mes-product/qms-inspection-document-report/pass-rate/partner-trend-chart',
        method: 'get',
        params: params
    });
};
